package com.kgc.scd.service;

import com.kgc.scd.bean.SearchHistory;
import org.springframework.cloud.netflix.feign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created On : 2022/6/11.
 * <p>
 * Author     : hi
 * <p>
 * Description: SearchService
 */
@FeignClient(value = "blmall-activemq")
public interface SearchService {

     @PostMapping("/addSearchHistory")
     String addSearchKey(@RequestParam("queue")String queue,@RequestBody SearchHistory searchHistory);


     @PostMapping("/delSearchHistory")
     String delSearchValue(@RequestParam("del")String del,@RequestBody String historyValue);
}
